package com.yuanli.cosmeticmirror.persenter;

import androidx.lifecycle.LifecycleOwner;

import com.comenjoysoft.baselibrary.listener.CallbackListener;
import com.comenjoysoft.baselibrary.presenter.BasePresenter;
import com.yuanli.cosmeticmirror.model.biz.IFindPwdBiz;
import com.yuanli.cosmeticmirror.model.biz.IWelComeBiz;
import com.yuanli.cosmeticmirror.model.impl.FindPwdImpl;
import com.yuanli.cosmeticmirror.model.impl.WelcomeImpl;
import com.yuanli.cosmeticmirror.model.iview.IFindPwdView;
import com.yuanli.cosmeticmirror.model.iview.IwelcomeView;

public class WelcomePersenter extends BasePresenter<IwelcomeView> {

    private final IWelComeBiz biz;

    public WelcomePersenter(IwelcomeView view, LifecycleOwner owner) {
        attachView(view);
        biz = new WelcomeImpl(owner);
    }

    public void firstRunApp() {
        biz.firstRunApp();
    }

    public void firsLogin() {
        biz.firsLogin();
    }

    public void firsOpen() {
        biz.firsOpen();
    }

    public void firstRunAppNew() {
        biz.firstRunAppNew();
    }
}
